import Pmf

sampleList = [1,2,2,3,5]

hist = Pmf.MakeHistFromList(sampleList)

print 'the sample list : ', sampleList
print 'the Freq of 2:', hist.Freq(2)
print 'the Freq of 4:', hist.Freq(4)
print 'the value of hist:', hist.Values()

